From: Colin Walters Date: Sat, 8 Aug 2009 15:57:09 +0000 (-0400) Subject: Bug 590985 - Fix frequent apps list being empty X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~11136 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=91911da302a2e1fc44a237c47ae41a8302d771d8;p=gnome-shell.git Bug 590985 - Fix frequent apps list being empty We shouldn't append .desktop again, that was a leftover from the old WM_CLASS based application code. --- diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index 6e335216b..3406ee44b 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -275,7 +275,7 @@ AppDisplay.prototype = { _getMostUsed: function() { let context = ""; return this._appMonitor.get_most_used_apps(context, 30).map(Lang.bind(this, function (id) { - return this._appSystem.lookup_app(id + '.desktop'); + return this._appSystem.lookup_app(id); })).filter(function (e) { return e != null }); },